<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2017/12/8/008
 * Time: 17:02
 */

namespace app\api\validate;


class PatternMasterValidate extends BaseValidate {
    protected $rule = [
        'name' => 'require|isNotEmpty',
        'mobile' => 'require|mobile',
        'address' => 'require|isNotEmpty',
        'sex' => 'require|in:男,女',
        'is_experience' => 'require|in:0,1',
        'province' => 'require|isNotEmpty',
        'city' => 'require|isNotEmpty',
        'area' => 'require|isNotEmpty',
    ];
}